From: Jan Beulich Date: Thu, 27 Oct 2022 09:50:47 +0000 (+0200) Subject: Arm32: prune (again) ld warning about mismatched wchar_t sizes X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~94 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=20cf0ab774e828dc4e75ecebecf56b53aca754fc;p=xen.git Arm32: prune (again) ld warning about mismatched wchar_t sizes The name change (stub.c -> common-stub.c) rendered the earlier workaround (commit a4d4c541f58b ["xen/arm32: avoid EFI stub wchar_t size linker warning"]) ineffectual. Fixes: bfd3e9945d1b ("build: fix x86 out-of-tree build without EFI") Signed-off-by: Jan Beulich Acked-by: Julien Grall Release-acked-by: Henry Wang --- diff --git a/xen/arch/arm/efi/Makefile b/xen/arch/arm/efi/Makefile index 2459cbae3a..74b7274bdd 100644 --- a/xen/arch/arm/efi/Makefile +++ b/xen/arch/arm/efi/Makefile @@ -6,6 +6,6 @@ obj-$(CONFIG_ACPI) += efi-dom0.init.o else obj-y += common-stub.o -$(obj)/stub.o: CFLAGS-y += -fno-short-wchar +$(obj)/common-stub.o: CFLAGS-y += -fno-short-wchar endif